package com.biz.primus.model.promotion.vo.req;

import com.biz.primus.model.promotion.vo.PromotionReqBasicInfoVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 秒杀商品请求Vo
 *
 * @author david-liu
 */
@Getter
@Setter
@ApiModel(value = "秒杀商品Vo")
public class SeckillProductReqVo extends PromotionReqBasicInfoVo {
    private static final long serialVersionUID = 5180611167365354893L;

    @ApiModelProperty(value = "秒杀活动ID")
    private Long promotionId;

    @ApiModelProperty(value = "秒杀商品ID")
    private Long productId;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
